package com.pope.framework.triage.modular.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 分诊级别指标信息表
 * </p>
 *
 * @author superpope
 * @since 2019-01-14
 */
@TableName("t_triage_grade_norm")
@ApiModel(description= "分级指标信息")
@Data
public class GradeNorm implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * VARCHAR
     */
    @TableId("ID")
    @ApiModelProperty(value = "分级主键ID，添加修改不需要赋值",dataType="Integer")
    private Integer id;

    /**
     * 指表级别ID
     */
    @TableField("NORM_ID")
    @ApiModelProperty(value = "指标级别编码,",dataType="String",required=true)
    private String normId;

    /**
     * 比较公式
     */
    @TableField("COMPARE")
    @ApiModelProperty(value = "比较公式编码",dataType="String")
    private String compare;

    /**
     * 数据1
     */
    @TableField("VALUE1")
    @ApiModelProperty(value = "范围起始，单值默认为该数据",dataType="BigDecimal")
    private BigDecimal value1;

    /**
     * 数据2
     */
    @TableField("VALUE2")
    @ApiModelProperty(value = "范围结束",dataType="BigDecimal")
    private BigDecimal value2;

    /**
     * 分诊级别ID
     */
    @TableField("GRADE_ID")
    private Integer gradeId;

}
